﻿using Newtonsoft.Json;
using Shared.NewtonsoftJsonHelper.DateTimeFormat;
using System;
using System.Collections.Generic;

namespace BookStores.DTO.Request
{
    /// <summary>
    /// 图书编辑数据
    /// </summary>
    public class BookInfo
    {        
        public string ID { get; set; }
        /// <summary>
        /// 书名
        /// </summary>
        public string Book_Name { get; set; }
        /// <summary>
        /// 书籍标签/分类
        /// </summary>
        public string[] Book_Tag { get; set; }
        /// <summary>
        /// 语种
        /// </summary>
        public string[] Book_Language { get; set; }
        /// <summary>
        /// 图书发布状态: 编辑/预定/下架/上架
        /// </summary>
        public string Book_Publish_Status { get; set; }
        /// <summary>
        /// 图书推荐状态:新品/正常/
        /// </summary>
        public string Book_Recommend_Status { get; set; }
        /// <summary>
        /// 图书自定义编码
        /// </summary>
        public string Book_SerialNo { get; set; }
        /// <summary>
        /// 图书条码
        /// </summary>
        public string Book_Barcode { get; set; }
        /// <summary>
        /// 简介
        /// </summary>
        public string Book_Brief { get; set; }
        /// <summary>
        /// 图书介绍内容
        /// </summary>
        public string Book_Content { get; set; }
        /// <summary>
        /// 作者ID
        /// </summary>
        public string[] Book_Author { get; set; }
        /// <summary>
        /// 出版社
        /// </summary>
        public string Book_Publishing { get; set; }
        /// <summary>
        /// 出版时间
        /// </summary>
        [JsonConverter(typeof(ShortDateFormatConvert))]
        public DateTime Book_Publishing_Time { get; set; }
        /// <summary>
        /// 图书系列Tag
        /// </summary>
        public string[] Book_Series { get; set; }
        /// <summary>
        /// 进货价格
        /// </summary>
        public decimal Book_Purchasing_Price { get; set; }
        /// <summary>
        /// 图书售价
        /// </summary>
        public decimal Book_Price { get; set; }
        /// <summary>
        /// 图书图片列表
        /// </summary>
        public string[] Book_Priture_List { get; set; }
    }
}
